
object ShapesApp {
    def main(args: Array[String]) = {
        import shapes._

        ShapeDrawingActor.start()

        ShapeDrawingActor ! new Rectangle(new Point(0.0, 0.0), 2, 5)
        ShapeDrawingActor ! new Rectangle(new Point(3.0, 2.0), 2, 5)
        ShapeDrawingActor ! "hi!"
        ShapeDrawingActor ! new Circle(new Point(0.0, 17.0), 17.3)
        ShapeDrawingActor ! "exit"
        3
    }
}

